//
//  MessageCell.m
//  ImGuider
//
//  Created by 李陆涛 on 2018/1/3.
//  Copyright © 2018年 imguider. All rights reserved.
//

#import "MessageCell.h"

@interface MessageCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;

@property (weak, nonatomic) IBOutlet UILabel *dateLabel;
@end

@implementation MessageCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.titleLabel.textColor = kThemeColor;
}

- (void)setMsg:(Message *)msg {
    
    _msg = msg;
    
    self.titleLabel.text = msg.title;
    self.contentLabel.text = msg.content;
    self.dateLabel.text = msg.createtime;
}

@end
